home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20020314-20021006
/
000378_rgibbens@redskytech.com_Wed Sep 18 14:05:33 EDT 2002.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
1KB
|
35 lines
Article: 13712 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!solaris.cc.vt.edu!news.vt.edu!msunews!not-for-mail
From: "Robert Gibbens" <rgibbens@redskytech.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Multiple line IF statement?
Date: Wed, 18 Sep 2002 13:37:24 -0400
Organization: Michigan State University
Lines: 19
Message-ID: <amadkm$8bh$1@msunews.cl.msu.edu>
NNTP-Posting-Host: 208.48.6.2
X-AUTHid: gibbensr
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13712
Is it possible in C-Kermit (Kermit 95, Win2k), to do multiple line IF
statements?
For example, if I encounter a failure, I would like to write the failure to
my log file and then exit. When I try this....
if > \%a \%b -
WRITE File \v(exitstatus) \v(date) \v(time) \%s FAILED
after \%a tries, end 1
....it simply writes the whole line to the log file and then continues
running the script. I would like the "end 1" to execute also
Thanks,
Rob Gibbens
rgibbens@redskytech.NOSPAM.com